package io.renren.modules.generator.dao;

import io.renren.common.vo.OrderGroupExportVo;
import io.renren.modules.generator.entity.OrdersGroupEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
        import java.util.Map;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-12-17 14:24:47
 */
@Mapper
public interface OrdersGroupDao extends BaseMapper<OrdersGroupEntity> {

    List<OrdersGroupEntity> queryPage(Map<String, Object> params);

    int queryPageTotal(Map<String, Object> params);

    void updateStatusById(@Param("value") String value, @Param("id") Integer id);

    List<OrderGroupExportVo> queryDataForExcel(Map<String, Object> params);

    int queryTotalForExcel(Map<String, Object> params);

    void updateDtAreaById(@Param("toDtAreaIds") String toDtAreaIds, @Param("toDtAreaNames") String toDtAreaNames, @Param("fromDtAreaIds") String fromDtAreaIds, @Param("fromDtAreaNames") String fromDtAreaNames, @Param("id") Integer id);

}
